#ifndef OUTPUTTAG_H
#define OUTPUTTAG_H
#include <QTextBrowser>
#include <QTextEdit>
#include <QString>
#include <QTextDocument>
#include <QAbstractTextDocumentLayout>
#include <QPalette>
#include "Tag.h"

class OutputTag : public QTextBrowser, public Tag {
	Q_OBJECT
	public:
		OutputTag(QWidget* parent = 0, int _code  = 0, QString* text = 0);
		
		int height();
		
	public slots:
		void setText(QString*);
		void setFontSize(int);
		void resetDimension();
		
	private:
		int numRow;
		int fontSize;
};

#endif
